load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "PeerInfoVisualMediaPaneNode",
    module_name = "PeerInfoVisualMediaPaneNode",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/AsyncDisplayKit",
        "//submodules/TelegramCore",
        "//submodules/Postbox",
        "//submodules/TelegramPresentationData",
        "//submodules/AccountContext",
        "//submodules/ContextUI",
        "//submodules/PhotoResources",
        "//submodules/RadialStatusNode",
        "//submodules/TelegramStringFormatting",
        "//submodules/GridMessageSelectionNode",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/ListMessageItem",
        "//submodules/ChatMessageInteractiveMediaBadge",
        "//submodules/SparseItemGrid",
        "//submodules/ShimmerEffect",
        "//submodules/DirectMediaImageCache",
        "//submodules/ComponentFlow",
        "//submodules/TelegramNotices",
        "//submodules/TelegramUIPreferences",
        "//submodules/CheckNode",
        "//submodules/AppBundle",
        "//submodules/Components/BundleIconComponent",
        "//submodules/TelegramUI/Components/ChatControllerInteraction",
        "//submodules/InvisibleInkDustNode",
        "//submodules/MediaPickerUI",
        "//submodules/TelegramUI/Components/Stories/StoryContainerScreen",
        "//submodules/TelegramUI/Components/EmptyStateIndicatorComponent",
        "//submodules/UIKitRuntimeUtils",
        "//submodules/TelegramUI/Components/PeerInfo/PeerInfoPaneNode",
        "//submodules/ShareController",
        "//submodules/UndoUI",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/Components/ComponentDisplayAdapters",
        "//submodules/TelegramUI/Components/MediaEditorScreen",
        "//submodules/LocationUI",
        "//submodules/Components/MultilineTextComponent",
        "//submodules/TelegramUI/Components/TabSelectorComponent",
        "//submodules/TelegramUI/Components/Settings/LanguageSelectionScreen",
        "//submodules/TelegramUI/Components/Gifts/GiftItemComponent",
        "//submodules/TelegramUI/Components/Gifts/GiftViewScreen",
        "//submodules/TelegramUI/Components/ButtonComponent",
        "//submodules/Components/BalancedTextComponent",
        "//submodules/TelegramUI/Components/CheckComponent",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/TelegramUI/Components/BottomButtonPanelComponent",
        "//submodules/PromptUI",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView",
        "//submodules/TelegramUI/Components/PeerInfo/CollectionTabItemComponent"
    ],
    visibility = [
        "//visibility:public",
    ],
)
